﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Raven.Client.Document;

namespace mrp16062010
{
    class Raven
    {
        public void Sorgu()
        {
            var store = new DocumentStore { Url = "http://localhost:8080" };

            store.Initialize();
            using (var session = store.OpenSession())
            {
                Simulation.Ortam order = session.Load < Simulation.Ortam>("ortam");
                
                session.SaveChanges();
            }
        }
    }
}
